using UnityEngine;

namespace skeleton
{
    public class AnimationTrigger : MonoBehaviour
    {
        Skeleton skeleton => GetComponentInParent<Skeleton>();

        // ========================================================================

        private void OnAttackComplete() => skeleton.ChangeState(StateCode.Chase);
    }
}
